<?php
/*
	--------------------------------------------------------------
	gm_get_language.inc.php 2008-01-30 pt
	Gambio OHG
	http://www.gambio.de
	Copyright (c) 2008 Gambio OHG
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
	--------------------------------------------------------------
*/
	
	/*
	*	-> function to get content values by group id
	*/	
	function gm_get_language() {
				
		$gm_query = xtc_db_query("
								SELECT
									*
								FROM
									languages
								ORDER by
									languages_id
								"); 
				
		while($gm_row = xtc_db_fetch_array($gm_query)) {	

			$gm_lang[] = $gm_row;

		}
		
		return $gm_lang;
	}
?>